//
//  HMPictureInfo.swift
//  WeiBoSwift
//
//  Created by hgj on 2016/11/17.
//  Copyright © 2016年 HuGuoJian. All rights reserved.
//

import UIKit

class HMPictureInfo: NSObject {

    //缩略图的地址
    var thumbnail_pic: String? {
        didSet {
            
            //给bimiddle属性赋值
            bimiddleImage = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "bmiddle")
            wap360 = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "wap360")
            imageURL = URL(string: wap360 ?? "")
        }
    }
    
    
    var wap360: String?
    var bimiddleImage: String?
    
    var imageURL: URL?

}
